package com.turing.post.cardmanagement.util;

import java.math.BigInteger;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.organization.util.SysBranch;
import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

@Remote
@Local
public interface TransferInOutStockApprovalBusiness {
	
	/**
	 * 调拨单申请添加
	 * @param vo
	 * @throws PCPSApplicationException
	 */
	public BigInteger insertTransferInOutStockApproval(PCPSWebInput webInput,TransferInOutStockApproval vo)
			throws PCPSApplicationException;
	
	
	/**
	 * 调拨单申请删除
	 * @param vo
	 * @throws PCPSApplicationException
	 */
	public void deleteTransferInOutStockApproval(PCPSWebInput webInput,BigInteger TransferApprovalId)
			throws PCPSApplicationException;
	
	
	/**
	 * 调拨单申请审批通过
	 * @param vo
	 * @throws PCPSApplicationException
	 */
	public void AuthTransferInOutStockApprovalAdopt(PCPSWebInput webInput,TransferInOutStockApproval vo)
			throws PCPSApplicationException;
	
	/**
	 * 调拨单申请审批拒绝
	 * @param vo
	 * @throws PCPSApplicationException
	 */
	public void AuthTransferInOutStockApprovalRefuse(PCPSWebInput webInput,TransferInOutStockApproval vo)
			throws PCPSApplicationException;


	/**
	 * 调拨申请单申请机构
	 * @param webInput
	 * @return
	 */
	public SysBranch getToTransferBranchNo(PCPSWebInput webInput);
	
}
